package com.sl.biz.modular.restapi.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonEntity;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("api_entity_config")
@Entity(name = "api_entity_config")
public class ApiEntityConfigDO extends CommonOrgEntity {
    /**
     * 编码
     */
    private String apiId;

    /**
     * 编码
     */
    private String apiVersionId;

    /**
     * 输入参数定义
     */
    @Lob
    @Column(length = 65_535)
    private String inputParam;

    /**
     * 输入参数是否为数组
     */
    private Boolean inputParamArrayFlag;

    /**
     * 输入参数是否为基本数据类型
     */
    private String inputBasicFieldType;
    /**
     * 输入参数是否为基本数据类型
     */
    private Boolean inputParamBasicTypeFlag;


    /**
     * 输入参数定义
     */
    @Lob
    @Column(length = 65_535)
    private String resultParam;

    /**
     * 输入参数是否为数组
     */
    private Boolean resultParamArrayFlag;
    /**
     * 输入参数是否为基本数据类型
     */
    private String resultBasicFieldType;
    /**
     * 输入参数是否为基本数据类型
     */
    private Boolean resultParamBasicTypeFlag;
}
